package com.roger.tool.utils;

public class TimerUtils {

	public static void schedule(final Runnable pRunnable, final long pDelayMillis) {

		if (pRunnable != null) {
			Thread thread = new Thread() {

				public void run() {
					try {
						sleep(pDelayMillis);
					} catch (Exception e) {
					}
					pRunnable.run();
				};

			};
			thread.setName("Delay=>Schedule");
			thread.start();
		}
	}

}
